<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            list-style: none;
            overflow: hidden;
            border: 1px solid #333;
        }
        li{
            float: left;
            margin-right: 20px;
        }


    </style>
</head>
<body>
    <div>
        <ul>
            <li>新闻</li>
            <li>娱乐</li>
            <li>图片</li>
        </ul>
    </div>
</body>
</html>